﻿using LibNiconico.NiconicoApi.Lives.Comments;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoApiHelperTest.Comments
{
    public class NicoChatComment
    {
        public string UserId { get; private set; }

        public string Body { get; private set; }

        internal static NicoChatComment CreateFrom(NicoLiveChatComment liveChatComment)
        {
            var comment = new NicoChatComment();
            comment.UserId = liveChatComment.UserId;
            comment.Body = liveChatComment.Body;

            return comment;

        }
    }
}
